<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use Illuminate\Support\Str;
use Faker\Generator as Faker;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/

$factory->define(App\Models\Garbage\GarbageEvent::class, function (Faker $faker) {
    return [
        'title' => $faker->title,
        'desc'=>$faker->sentence(1),
        'user_id'=>$faker->numberBetween(1,5),
        'admin_id'=>$faker->numberBetween(11,20),
        'area_id'=>$faker->numberBetween(1,5),
        'address'=>$faker->address,
        'status'=>$faker->numberBetween(1,4),
        'reward'=>$faker->numberBetween(1,20),
        'reward_type'=>$faker->numberBetween(1,2),
        'is_reward'=>$faker->boolean
    ];
});
